﻿using Ledict.ConditionExtract.DAL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Ledict.ConditionExtract.BLL
{
    /// <summary>
    /// 获取卷宗类型
    /// </summary>
    public class SYS_CaseType_DocTypeBLL
    {
        SYS_CaseType_DocTypeDAL dal = new SYS_CaseType_DocTypeDAL();
        /// <summary>
        /// 根据案件类型获取卷宗类型
        /// </summary>
        /// <returns></returns>
        public DataTable GetSysDocTypeDataByCaseTypeID(string caseTypeCode)
        {
            return dal.GetSysDocTypeDataByCaseTypeID(caseTypeCode);
        }

        /// <summary>
        /// 根据案件类型获取文书类型
        /// </summary>
        /// <returns></returns>
        public DataTable GetSysDocTypeDataByCaseTypeIDNew(string caseTypeCode)
        {
            return dal.GetSysDocTypeDataByCaseTypeIDNew(caseTypeCode);
        }

        /// <summary>
        /// 获取证明配置信息
        /// </summary>
        /// <param name="ccId"></param>
        /// <returns></returns>
        public DataTable GetSysCaseType(string ccId)
        {
            return dal.GetSysCaseType(ccId);

        }

        /// <summary>
        /// 获取文书类型
        /// </summary>
        /// <returns></returns>
        public DataTable GetSysCaseTypeDocType()
        {
            return dal.GetSysCaseTypeDocType();
        }
    }
}
